package com.shenmazong.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.Version;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 教学视频 ——>  John
 * </p>
 *
 * @author 还怕大雨吗
 * @since 2021-09-18
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class TbVideo implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 视频id
     */
    @TableId(value = "video_id", type = IdType.ID_WORKER)
    private Long videoId;

    /**
     * 视频标题
     */
    private String videoTitle;

    /**
     * 视频存储位置
     */
    private String videoPath;

    /**
     * 发布视频讲师
     */
    private Long teacherId;

    /**
     * 视频发布时间
     */
    private String createTime;

    /**
     * 最后修改时间
     */
    private String updateTime;

    /**
     * 逻辑删除
     */
    @TableLogic
    private Integer deleteFlag;

    /**
     * 版本号
     */
    @Version
    private Integer versionFlag;

}
